package com.ndp.fb.model.fbagent.param.adcreative;


import com.ndp.fb.annotation.FBParam;
import com.ndp.fb.model.fbagent.param.FacebookParam;
import com.restfb.Facebook;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * Created by Sisi on 14-8-20.
 */
@Setter
@Getter
@NoArgsConstructor
public class LinkData extends FacebookParam {
    /**
     * image_hash
     */
	@Facebook("image_hash")
    @FBParam("image_hash")
    private String imageHash;

    /**
     * link
     */
	@Facebook("link")
    @FBParam("link")
    private String link;

    /**
     * message
     */
	@Facebook("message")
    @FBParam("message")
    private String message;
	
	@Facebook("name")
    @FBParam("name")
    private String name;

	@Facebook("caption")
    @FBParam("caption")
    private String caption;

	@Facebook("description")
    @FBParam("description")
    private String description;

	@Facebook("picture")
    @FBParam("picture")
    private String picture;

    /**
     * call_to_action
     */
	@Facebook("call_to_action")
    @FBParam("call_to_action")
    private CallToAction callToAction;

	@Facebook("child_attachments")
    @FBParam("child_attachments")
    private List<ChildAttachments> childAttachmentses;

	@Facebook("multi_share_optimized")
    @FBParam("multi_share_optimized")
    private Boolean multiShareOptimized;

	@Facebook("multi_share_end_card")
    @FBParam("multi_share_end_card")
    private Boolean multiShareEndCard;

    @Facebook("force_single_link")
    @FBParam("force_single_link")
    private Boolean forceSingleLink;

	@Facebook("attachment_style")
    @FBParam("attachment_style")
    private String  attachmentStyle;

    /**
     * 素材的名称，临时保存，不会传递到fb。 创意多个图片的话，使用"_"分割
     */
    private String  pictureName;

//    @Facebook("max_product_count")
//    @FBParam("max_product_count")
//    private Integer maxProductCount;

}
